const dep = require('../createSchema')
//创建movieSchema
dep.connectDB.connectMongoDB('mongodb://localhost/movie');
let movieSchema = new dep.mongoose.Schema({
    rate: String,
    title: String,
    url: String,
    id: String,
    imgUrl: String,
    genres: Array
})
const Movie = dep.mongoose.model('top250', movieSchema);
module.exports = Movie